package com.fpd.model.vo;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @desc 响应数据模型
 * @author wujiangbo
 * @date 2019年11月14日 下午4:19:39
 */
@Data
@ApiModel
public class SysUserVO implements Serializable {

	private static final long serialVersionUID = 7042089359320680275L;

	@ApiModelProperty(value = "主键ID(与业务无关)", example = "191113392044915078598656")
	private String userId;

	@ApiModelProperty(value = "登录账号", example = "admin")
	private String userName;

	@ApiModelProperty(value = "性别（0：男；1：女；2：保密）", example = "0")
	private Integer sex;

	@ApiModelProperty(value = "地址", example = "湖北省武汉市xx区xx街道xx小区xx栋xx号楼701号")
	private String address;

	@ApiModelProperty(value = "手机号", example = "18024120000")
	private String mobile;

	//联系方式2
	private String mobile2;

	@ApiModelProperty(value = "邮箱", example = "00000000@qq.com")
	private String email;

	@ApiModelProperty(value = "真实姓名", example = "张三")
	private String truename;

	@ApiModelProperty(value = "证件类型（0：身份证；1：护照号；2：驾照号；3：其他证件）", example = "0")
	private String idcardtype;

	@ApiModelProperty(value = "证件号码", example = "42900419910213000")
	private String idcard;

	@ApiModelProperty(value = "创建时间", example = "2019-08-26 19:49:50")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	@ApiModelProperty(value = "更新时间", example = "2019-09-26 19:49:50")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;

	@ApiModelProperty(value = "最后登录时间", example = "2019-10-26 19:49:50")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date lastLoginTime;

	@ApiModelProperty(value = "工作状态（0：离职；1：在职；2：休假中；3：其他）", example = "1")
	private Integer workState;

	@ApiModelProperty(value = "微信号", example = "251522222")
	private String weixin;

	@ApiModelProperty(value = "QQ号", example = "100000021")
	private String qq;

	@ApiModelProperty(value = "角色", example = "管理员")
	private String roleName;
	
	private String groupId;

	@ApiModelProperty(value = "所属分组名称", example = "")
	private String groupName;

	@ApiModelProperty(value = "账号状态（0：禁用；1：启用）", example = "1")
	private String accountState;

	@ApiModelProperty(value = "职位（1：管理员；2：数据管理员；3：项目经理；4：组长；5：平台客服；6：质检员）", example = "5")
	private Integer position;

	@ApiModelProperty(value = "案件状态（0:未分配，1：已分配，5：回款中；6：回款完成；7:历史记录）", example = "")
	private Integer caseState;
	
	private Integer sendCount;
	
	private String thirdParty;//所属委托方
	
	private String thirdPartyName;//所属委托方名字
}
